home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / gadget / r3grdraw.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.4 KB  |  60 lines

  1.  
  2. // JavaScript wrapper for r3grdraw.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_GRIDDRAW_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_GRIDDRAW = 57;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3GRIDDRAWA_GridLayer = 57500;
  19. function SetR3GRIDDRAWA_GridLayer(value) {
  20.   R3Set(this.r3obj, R3GRIDDRAWA_GridLayer, value, R3TID_OBJECT, 0); 
  21. }
  22.  
  23. R3GRIDDRAWA_Active = 57502;
  24. function SetR3GRIDDRAWA_Active(value) {
  25.   R3Set(this.r3obj, R3GRIDDRAWA_Active, value, R3TID_INTEGER, 0); 
  26. }
  27.  
  28. function GetR3GRIDDRAWA_Active() {
  29.   return R3Get(this.r3obj, R3GRIDDRAWA_Active, R3TID_INTEGER, 0); 
  30. }
  31.  
  32. R3GRIDDRAWA_RedrawContext = 57503;
  33. function SetR3GRIDDRAWA_RedrawContext(value) {
  34.   R3Set(this.r3obj, R3GRIDDRAWA_RedrawContext, value, R3TID_BOOLEAN, 0); 
  35. }
  36.  
  37. R3GRIDDRAWA_GridName = 57504;
  38. function SetR3GRIDDRAWA_GridName(value) {
  39.   R3Set(this.r3obj, R3GRIDDRAWA_GridName, value, R3TID_STRING, 0); 
  40. }
  41.  
  42.  
  43.  
  44. function r3Griddraw () { 
  45.    this.base = r3God;
  46.    if(arguments.length) {
  47.       this.base(R3CLID_GRIDDRAW, arguments);
  48.    }
  49.    // Methods
  50.  
  51.    // Attributes
  52.    this.SetGridLayer=SetR3GRIDDRAWA_GridLayer;
  53.    this.GetActive=GetR3GRIDDRAWA_Active;
  54.    this.SetActive=SetR3GRIDDRAWA_Active;
  55.    this.SetRedrawContext=SetR3GRIDDRAWA_RedrawContext;
  56.    this.SetGridName=SetR3GRIDDRAWA_GridName;
  57. }
  58.  
  59. r3Griddraw.prototype=new r3Root;
  60. // r3grdraw.h_H